<!doctype html>
<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>{$site_title}</title>
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="stylesheet" type="text/css" href="http://apps.bdimg.com/libs/blendui/2.0.0/boost.min.css" />
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/template/default/css/webapp.css" />
  <script type="text/javascript" src="__PUBLIC__/template/default/js/jquery.min.js"></script>
  <script type="text/javascript" src="http://apps.bdimg.com/libs/blendui/2.0.0/boost.min.js"></script>
  <script type="text/javascript">
    window.boost = $.noConflict(true);
    </script>
  <style>
      .blend-formgroup{ margin-top: 10px;}
      #content{ width: 345px; height: 200px; font-size: 1.5rem;}
      .blend-formgroup-input{ background-color: #fff;}
      .blend-header{ background-color: #03ab9e;}
      body{ background-color: #F1F1F1;}
  </style>
</head>

<body>
    <header data-blend-widget="header" class="blend-header header_title_bg">
        <span class="blend-header-left">
            <a class="blend-header-item  blend-button" href="javascript:history.go(-1);"><img src="__PUBLIC__/template/default/img/btn_back.png" style="height:28px;"/></a>
        </span>
        <span class="blend-header-title">
            <a class="blend-header-item">提交问题</a>
        </span>
        <span class="blend-header-right">
        <a class="blend-header-item submit"></a>
        </span>
    </header>
    <div class="blend-grid blend-container-fluid">
      <div class="blend-formgroup">
          <textarea class="blend-formgroup-input" id="content" name="content" placeholder="留下您的问题！"></textarea>
      </div>
    </div>
    
    <div class="" style=" margin-top:30px;">
    <button class="blend-button blend-button-primary blend-button-large" id="submit" style=" background-color:#03ab9e;">提交</button>
    </div>
    <div style="height: 50px;"></div>
<include file="Index/wx_share_clip"/> 
<script>
    $(document).ready(function(){

       $("#submit").bind('click',function(){
          
            var content = $("#content").val();
            if(content == ''){
                alert('内容不能为空!');
            }
            var url = "{:U('M/Information/faq_feedback')}";
            $.ajax({
                type:'post',
                url:url,
                data:{content:content},
                dataType:'json',
                success:function(data){
                    if(data==1){
                        window.location.href="{:U('M/Information/faq_lists')}";
                        alert('问题提交成功!');
                    }else{

                        alert('问题提交失败!');
                    }
                }
            });
        });
    });
</script>
<?php require_once 'cs.php';echo '<img src="'._cnzzTrackPageView(1256622573).'" width="0" height="0"/>';?>
<include file="Index/foot_analyze"/>
</body>
</html>